Bluetooth broadcasting method

ABSTRACT

The present invention provides an efficient data transmission method in Bluetooth broadcasting. The method of Bluetooth broadcasting, includes the steps of: (a) at a master, generating a broadcast packet to include assign information and header information and transmitting the broadcast packet; (b) at the master, generating a broadcast packet by including notification information and transmitting the broadcast packet; and (c) at the slave, receiving the broadcast packet, obtaining the assigning information, header information or notification information included in the broadcast packet and determining whether or not the slave transmits data.

FIELD OF THE INVENTION

[0001] The present invention is related to a method of Bluetooth broadcasting; and, more particularly, to a method of Bluetooth broadcasting for increasing data transmission efficiency by allowing a slave to transmit data while a master is broadcasting, and a computer readable recording medium for executing the same method.

PRIOR ART OF THE INVENTION

[0002] Bluetooth is a short-range radio link intended to replace cables connecting potable or fixed electric devices. The Bluetooth system provides a point-to-point connection or a point-to-multipoint connection. One Bluetooth unit acts as the master of a piconet, whereas the other units act as slaves. In the point-to-multipoint connection, the channel is shared among several Bluetooth units. The channel is divided into time slots, each 625 microsecond (μs) in length. The master unit transmits data in an even number of slots and slave units transmit data in an odd number of slots. Up to seven slaves can be active in the piconet. Active member addresses (AM_ADDR) 1 to 7 are given to the active slaves.

[0003] An asynchronous connection-less (ACL) link provides a packet-switched connection between the master and all active slaves participating in the piconet. A slave is permitted to return an ACL packet on the slave-to-master slot if it has been addressed in the preceding master-to-slave slot.

[0004]FIGS. 5A, 5B and 5C are diagrams showing structures of Bluetooth packet header and payload of ACL packet.

[0005] Referring to FIGS. 5A, 5B and 5C the header contains link control information and consists of 6 fields: 3-bit active member address (AM_ADDR), 4-bit type code (TYPE), 1-bit flow control (FLOW), 1-bit acknowledge indication (ARQN), 1-bit sequence number (SQEN) and 8-bit header error check (HEC). The AM_ADDR represents a member address and it is used to distinguish the active members participating on the piconet. In the piconet, one or more slaves are connected to a single master. To identify each slave separately, a temporary 3-bit address is assigned to each slave to be used when the slave is active. Packets exchanged between the master and the slave all carries the AM_ADDR. That is, the AM_ADDR of the slave is used in both master-to-slave packets and the slave-to-master packets. The all-zero address is reserved for broadcasting packets from the master to the slaves. Sixteen different types of packets can be distinguished as shown in Table 1. TABLE 1 TYPE Code Segment b₃b₂b₁b₀ Slot Occupancy SCO Link ACL Link 1 0000 1 NULL NULL 0001 1 POLL POLL 0010 1 FHS FHS 0011 1 DM1 DM1 2 0100 1 Undefined DH1 0101 1 HV1 Undefined 0110 1 HV2 Undefined 0111 1 HV3 Undefined 1000 1 DV Undefined 1001 1 Undefined AUX1 3 1010 3 Undefined DM3 1011 3 Undefined DH3 1100 3 Undefined Undefined 1101 3 Undefined Undefined 4 1110 5 Undefined DM5 1111 5 Undefined DH5

[0006] The FLOW bit is used for flow control of packets over the ACL link. When the RX buffer for the ACL link in the recipient if the RX buffer is not emptied, a stop indication, i.e., FLOW=0, is returned to stop the transmission of data temporarily. The stop signal only concerns ACL packets. The 1-bit acknowledgement indication ARQN is used to inform the source of a successful transfer of payload data with a cyclic redundancy check (CRC), and be positive acknowledgement (ACK) or negative acknowledgement (NAK). If the reception is successful, an ACK, i.e., ARQN=L, is returned, otherwise a NAK, i.e., ARQN=0, is returned. In inquiry response, the FHS packet is not acknowledged. The SEQN bit provides a sequential numbering scheme to order the data packet stream. For each new transmitted packet that contains data with CRC, the SEQN bit is inverted. It is required to filter out retransmissions at the destination; if retransmission occurs due to a failing ACK, the destination receives the packet twice. By comparing the SQEN of consecutive packets, correctly received retransmissions can be discarded. The HEC is 8-bit header-error-check to check the header integrity.

[0007] A broadcasting method defined in Bluetooth specification 1.1 is explained below with reference to FIG. 5.

[0008] Referring to FIGS. 5A, 5B and 5C, 3 bits from least significant bit (LSB) is used as the AM_ADDR 1 to 7, and a packet header that has all zeros of AM_ADDR bit is used for broadcasting to all slaves. When a master is broadcasting to all slaves, the slaves receive “0” in AM_ADDR and do not transmit in odd number slots. FLOW, ARQN and SEQN do not have significant meaning and are wasted during the master is broadcasting to all slaves. Once the slave receives a poll packet or a DM1 packet and permission for transmission, the slave can transmit data. Because the slave cannot transmit data until the slave receives permission for transmission, transmission efficiency decreases and power is consumed unnecessarily.

[0009] A structure of payload is shown in FIGS. 5A, 5B and 5C. Referring to FIGS. 5A, 5B and 5C, 2 bits are allocated in L_ch for controlling logical link flow. “00” is not defined. “01” means continuous logical flow. “10” means the starting of logical channel. “11” means a LMP message. Flow is a control bit for controlling flow in L2CAP. Flow bit is “1” when an L2CAP receiver buffer is empty. Flow bit is “0” when the L2CAP receiver is not empty. Length shows a length of user data and is 5 bits for short one and 9 bit for long one. However, 4 bits from the 13^(th) bit of the payload header of the long packet have not been defined and used yet.

SUMMARY OF THE INVENTION

[0010] Therefore, it is an object of the present invention to provide a Bluetooth broadcasting method for increasing data transmission efficiency by allowing a slave to transmit data while a master is broadcasting, and a computer readable recording medium for executing the same method.

[0011] In accordance with an aspect of the present invention, there is provided a Bluetooth broadcasting method, including the steps of: (a) at a master, generating a broadcast packet to include assign information and header information and transmitting the broadcast packet, wherein the assign information includes information about assigning a slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is not included in an access window for transmitting, and the header information included in packet headers such as FLOW, ARQN and SEQN contains information about maintaining ACL link between the master and the slave; (b) at the master, generating a broadcast packet by including notification information and transmitting the broadcast packet, wherein the notification information contains information about there is no slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is included in an access window for transmitting; and (c) at the slave, receiving the broadcast packet, obtaining the assigning information, header information or notification information included in the broadcast packet and determining whether or not the slave transmits data.

[0012] In accordance with another aspect of the present invention, there is provided a computer readable recording medium for storing a program for executing a Bluetooth broadcasting method, the Bluetooth broadcasting method including the steps of: (a) at a master, generating a broadcast packet to include assign information and header information and transmitting the broadcast packet, wherein the assign information includes information about assigning a slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is not included in an access window for transmitting, and the header information included in packet headers such as FLOW, ARQN and SEQN contains information about maintaining ACL link between the master and the slave; (b) at the master, generating a broadcast packet by including notification information and transmitting the broadcast packet, wherein the notification information contains information about there is no slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is included in an access window for transmitting; and (c) at the slave, receiving the broadcast packet, obtaining the assigning information, header information or notification information included in the broadcast packet and determining whether or not the slave transmits data.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other objects and features of the instant invention will become apparent from the following description of preferred embodiments taken in conjunction with the accompanying drawings, in which:

[0014]FIG. 1 is a block diagram showing an advanced Bluetooth broadcasting method in accordance with a preferred embodiment of the present invention;

[0015]FIG. 2 is an exemplary diagram showing an advanced broadcast packet in accordance with a preferred embodiment of the present invention;

[0016]FIG. 3 is a block diagram showing another advanced Bluetooth broadcasting method in accordance with a preferred embodiment of the present invention;

[0017]FIG. 4A is a block diagram showing a transmitting unit of a master in accordance with a preferred embodiment of the present invention;

[0018]FIG. 4B is a block diagram showing a receiving unit of a slave in accordance with a preferred embodiment of the present invention; and

[0019]FIGS. 5A, 5B and 5C are diagrams showing structures of Bluetooth packet header and payload of asynchronous connection-less (ACL) packet.

PREFERRED EMBODIMENT OF THE INVENTION

[0020] Other objects and aspects of the invention will become apparent from the following description of the embodiments with reference to the accompanying drawings, which is set forth hereinafter.

[0021]FIG. 1 is a block diagram showing an advanced Bluetooth broadcasting method in accordance with a preferred embodiment of the present invention. Referring to FIG. 1, the advanced Bluetooth broadcasting method in accordance with the present invention includes a first process 1100, a second process 1200 and a third process 2000.

[0022] In the first process, at step 1010, a broadcast packet is generated. At step 1020, it is determined whether a slot is included in an access window.

[0023] If the slot is not included in the access window at the step 1020, at step 1110, SI value is set to the AM_ADDR of the slot. At step 1120, functions of FLOW, ARQN and SEQN are allowed. At step 1030, a packet is generated by putting the SI information behind a cyclic redundancy check (CRC) bit. Then, at step 1040, a broadcast packet is transmitted.

[0024] In the second process, at step 1010, a broadcast packet is generated. At step 1020, it is determined whether a slot is included in an access window.

[0025] If the slot is not included in the access window at step 1020, at step 1210, the SI information is set to zero. At step 1030, a packet is generated by putting the SI information behind the CRC bit. Then, at step 1040, a broadcast packet is transmitted.

[0026] In the third process 2000, the slave receives the broadcast packet and obtains the SI information. Then, it is determined whether the slave transmits data at the next odd number slot.

[0027] Operating principles in accordance with the present invention is explained as follows. At step 1010, a length of maximum user data in accordance with the present invention is 1 byte shorter than that of the conventional Bluetooth specification so as to give enough time for frequency hopping.

[0028] According to the conventional Bluetooth specification, a master knows the start and end of the access window. Therefore, function for the step 1020 and the step 1210 is implemented in the master. A function for the step 1110 is also implemented in the master because the master manages AM_ADDRs of the slaves. A function for the step 1120 is implemented as a method of storing the AM_ADDR as the SI information when the ACL link between the master and the slave is activated and a method of obtaining the AM_ADDR when the master chooses the slave in order to broadcast.

[0029] A location of the SI information in the Bluetooth packet and a forward error correction (FEC) method are important for lower level interoperability. That is, if the SI information in the Bluetooth packet is located before the CRC bit, it is advantageous that an embodiment of the present invention can be implanted by revising software of the Bluetooth apparatus that applies Bluetooth specification 1.1.

[0030] However, when the advanced Bluetooth apparatus in accordance with the present invention is broadcasting with the conventional Bluetooth apparatus that applies the Bluetooth specification 1.1, a problem in higher level protocol occurs. Because 9 bits are required for ⅓ FEC of 3 bits-SI information, a length of total broadcast packet may become longer than that of the Bluetooth specification 1.1 and it results in shortening the required time for changing frequency in frequency hoping. However, the problem is ignorable because the length of maximum user data for each packet is shorter than that of the Bluetooth specification 1.1 and length of the packet is very small when the FEC is not executed in accordance with the present invention.

[0031]FIG. 2 is an exemplary diagram showing an advanced broadcast packet in accordance with a preferred embodiment of the present invention. FIG. 3 is a block diagram showing another advanced Bluetooth broadcasting method in accordance with a preferred embodiment of the present invention.

[0032] Referring to FIG. 3, the advanced Bluetooth broadcasting method in accordance with the present invention includes a first process 1100, a second process 1200 and a third process 2000.

[0033] In the first process, at step 1010, a broadcast packet is generated. At step 1020, it is determined whether a slot is included in an access window. If the slot is not included in the access window at the step 1020, at step 1110, SI value is set to the AM_ADDR of the slot. At step 1120, functions of FLOW, ARQN and SEQN are allowed. At step 1050, 3 bit-SI information is ⅓ FEC. At step 1030, a packet is generated by putting the SI information behind a cyclic redundancy check (CRC) bit. Then, at step 1040, a broadcast packet is transmitted.

[0034] In the second process, at step 1010, a broadcast packet is generated. At step 1020, it is determined whether a slot is included in an access window. If the slot is not included in the access window at the step 1020, at step 1210, the SI information is set to zero. At step 1050, 3 bit-SI information is ⅓ FEC. At step 1030, a packet is generated by putting the SI information behind a cyclic redundancy check (CRC) bit. Then, at step 1040, a broadcast packet is transmitted.

[0035] In the third process 2000, the slave receives the broadcast packet and obtains the SI information. Then, it is determined whether the slave transmits data at the next odd number slot.

[0036] Operating principles in accordance with the present invention is explained as follows. According to the Bluetooth specification, a master knows the start and end of the access window. Therefore, function for the step 1020 and the step 1210 is implemented in the master. A function for the step 1110 is also implemented in the master because the master manages AM_ADDRs of the slaves. A function for step the 1120 is implemented as a method of storing the AM_ADDR as the SI information when the ACL link between the master and the slave is activated and a method of obtaining the AM_ADDR when the master chooses the slave in order to broadcast. ⅓ FEC function encodes (0,1) into (000,111).

[0037]FIGS. 4A and 4B is a block diagram showing a transmitting unit of the master and a receiving unit of the slave in accordance with the embodiment of the present invention.

[0038] Referring to FIG. 4A, transmitting procedures of the master includes procedures of channel coding for composing and analyzing access code, header and payload, FEC encoding and whitening, appending the encoded SI field at step 801 and generating an operation control signal for FEC encoding.

[0039] Referring to FIG. 4B, receiving procedures of the slave includes procedures of generating an operation control signal for FEC decoding, FEC decoding and de-whitening, parsing decoded SI field at step 802 and channel decoding.

[0040] The method of the present invention is interoperable in other Bluetooth device that the advanced Bluetooth broadcasting method does not support. When the receiving unit does not support the method of the present invention, the receiving unit cannot extract the SI field behind the CRC bit and the LM transfers a payload header and a payload body to higher level layer. The packet received at a higher level layer is the same as the packet to which SI field is not applied. Therefore, the present invention obtains lower level interoperability.

[0041] However, it is preferred that the length of maximum user data for the packet of the present invention is 1 bit shorter than that of the Bluetooth specification 1.1 because a total length of the Bluetooth broadcasting packet of the present invention is lengthened to 15 bits at most.

[0042] The method of the present invention can be saved in a computer readable medium, e.g., a CD-ROM, a RAM, a ROM, a floppy disk, a hard disk, and an optical/magnetic disk.

[0043] As mentioned above, the present invention can increase data transmission efficiency among the Bluetooth devices by reducing the inevitable data transmission inefficiency of the conventional Bluetooth broadcasting by half, because the slave can transmit data while the master is broadcasting.

[0044] While the present invention has been shown and described with respect to the particular embodiments, it will be apparent to those skilled in the art that many changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims. 

What is claimed is:
 1. A Bluetooth broadcasting method, comprising the steps of: (a) at a master, generating a broadcast packet to include assign information and header information and transmitting the broadcast packet, wherein the assign information includes information about assigning a slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is not included in an access window for transmitting, and the header information included in packet headers such as FLOW, ARQN and SEQN contains information about maintaining ACL link between the master and the slave; (b) at the master, generating a broadcast packet by including notification information and transmitting the broadcast packet, wherein the notification information contains information about there is no slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is included in an access window for transmitting; and (c) at the slave, receiving the broadcast packet, obtaining the assigning information, header information or notification information included in the broadcast packet and determining whether or not the slave transmits data.
 2. The method as recited in claim 1, wherein an active member address is used for assigning the slave that is available to transmit data and zero bit notifies that there is no slave available to transmit data.
 3. The method as recited in claim 2, wherein the assign information and the notification information are stored in a location that cyclic redundancy check is not applied.
 4. The method as recited in claim 3, wherein the assign information and the notification information are ⅓ forward error correction (FEC) coded.
 5. The method as recited in claim 4, wherein a length of data in the broadcast packet is 1 bit shorter than the length of the Bluetooth specification 1.1.
 6. A computer readable recording medium for storing a program for executing a Bluetooth broadcasting method, the Bluetooth broadcasting method comprising the steps of: (a) at a master, generating a broadcast packet to include assign information and header information and transmitting the broadcast packet, wherein the assign information includes information about assigning a slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is not included in an access window for transmitting, and the header information included in packet headers such as FLOW, ARQN and SEQN contains information about maintaining ACL link between the master and the slave; (b) at the master, generating a broadcast packet by including notification information and transmitting the broadcast packet, wherein the notification information contains information about there is no slave that is available to transmit data at a next odd number of slot when a slot of the broadcast packet is included in an access window for transmitting; and (c) at the slave, receiving the broadcast packet, obtaining the assigning information, header information or notification information included in the broadcast packet and determining whether or not the slave transmits data. 